package cn.tedu.weibo.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonAppend;

import java.util.Date;

public class WeiboDetailVo {
    private Integer id;
    private String content;
    private String urls;
    @JsonFormat(pattern="yyyy年mm月 hh时mm分ss秒",timezone="GMT+8")
    private Date created;
    private String nickname;

    public WeiboDetailVo() {
    }

    public WeiboDetailVo(Integer id, String content, String urls, Date created, String nickname) {
        this.id = id;
        this.content = content;
        this.urls = urls;
        this.created = created;
        this.nickname = nickname;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return urls
     */
    public String getUrls() {
        return urls;
    }

    /**
     * 设置
     * @param urls
     */
    public void setUrls(String urls) {
        this.urls = urls;
    }

    /**
     * 获取
     * @return created
     */
    public Date getCreated() {
        return created;
    }

    /**
     * 设置
     * @param created
     */
    public void setCreated(Date created) {
        this.created = created;
    }

    /**
     * 获取
     * @return nickname
     */
    public String getNickname() {
        return nickname;
    }

    /**
     * 设置
     * @param nickname
     */
    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "WeiboDetailVo{" +
                "id=" + id +
                ", content='" + content + '\'' +
                ", urls='" + urls + '\'' +
                ", created=" + created +
                ", nickname='" + nickname + '\'' +
                '}';
    }
}
